package com.rzl.expense.expense.service.impl;

import com.rzl.expense.common.utils.DateUtils;
import com.rzl.expense.expense.domain.TwrTowerBillBalance;
import com.rzl.expense.expense.domain.TwrTowerSiteCode;
import com.rzl.expense.expense.mapper.TwrTowerBillBalanceMapper;
import com.rzl.expense.expense.mapper.TwrTowerSiteCodeMapper;
import com.rzl.expense.expense.service.ITwrTowerBillBalanceService;
import com.rzl.expense.expense.service.ITwrTowerSiteCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 租赁费账单Service业务层处理
 *
 * @author expense
 * @date 2024-11-27
 */
@Service
public class TwrTowerSiteCodeImpl implements ITwrTowerSiteCodeService {
    @Autowired
    private TwrTowerSiteCodeMapper twrTowerSiteCodeMapper;


    @Override
    public int insertTwrTowerSiteCode(TwrTowerSiteCode twrTowerSiteCode) {
        return twrTowerSiteCodeMapper.insertTwrTowerSiteCode(twrTowerSiteCode);
    }

    @Override
    public int deleteTwrTowerSiteCodeByDate(String staDate) {
        return twrTowerSiteCodeMapper.deleteTwrTowerSiteCodeByDate(staDate);
    }

    @Override
    public void batchTwrTowerSiteCode(List<TwrTowerSiteCode> list) {
        twrTowerSiteCodeMapper.batchTwrTowerSiteCode(list);
    }
}
